home *** CD-ROM | disk | FTP | other *** search
- !include("surface.def")
-
- Shader()
- {
- SurfaceID(SRF_WATER)
- Shaderquality(0)
- NoLightmaps()
-
- sortweight("translucent1")
-
- Pass()
- {
- !include("__Cubemap.mtt")
-
- tmu()
- {
- Texture()
- {
- Mapchannel(0)
- Image("Puddle.dds")
- }
- ColorOp("mul", "tfactor", "current", "current") //texture * lighting
- AlphaOp("mul", "texture", "tfactor", "current") //fadeblending
- }
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, 0.25)
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc( "greater", 0 )
- depthfunc("lequal", 1)
- }
-
- lightpass()
-
- !include("spot_spotmap.mtt")
- Cull("cw")
- }
-
-